﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace Agresso.Interface.Layer.Domain
{
    public class ConfigurationSetting
    {
        public long id = 0;
        public string setting_name = "";
        public string val_1 = "";
        public string val_2 = "";
        public string val_3 = "";
        public string val_4 = "";
        public string val_5 = "";
        public string val_6 = "";
        public string val_7 = "";
        public string val_8 = "";
        public string val_9 = "";
        public string val_10 = "";
        public string val_11 = "";
        public string val_12 = "";
        public string val_13 = "";
        public string val_14 = "";

        public ConfigurationSetting()
        {
        }
        public ConfigurationSetting(SqlDataReader rd)
        {
            id = Convert.ToInt64(rd["id"]);
            setting_name = rd["setting_name"].ToString();
            val_1 = rd["val_1"].ToString();
            val_2 = rd["val_2"].ToString();
            val_3 = rd["val_3"].ToString();
            val_4 = rd["val_4"].ToString();
            val_5 = rd["val_5"].ToString();
            val_6 = rd["val_6"].ToString();
            val_7 = rd["val_7"].ToString();
            val_8 = rd["val_8"].ToString();
            val_9 = rd["val_9"].ToString();
            val_10 = rd["val_10"].ToString();
            val_11 = rd["val_11"].ToString();
            val_12 = rd["val_12"].ToString();
            val_13 = rd["val_13"].ToString();
            val_14 = rd["val_14"].ToString();
        }
             
    }
}
